<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>添加</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <link rel="stylesheet" href="__LAYUI__/css/layui.css" media="all">
  <link rel="stylesheet" href="__CSS__/common/layui.form.css" media="all">
  <link rel="stylesheet" href="__STATIC__/plugs/font-awesome/css/font-awesome.min.css" media="all">

</head>
<body>
    <div class="layui-container">
        <form class="layui-form layui-clear" action="{:url('duty/execute/executedetailadd',array('executeId'=>$executeId))}" method="post">


             <div class="layui-form-item">
                <label class="layui-form-label">事件&nbsp;<i class="layui-icon arrow">&#xe642;</i></label>
                <div class="layui-input-block">
                  <select name="enterpriseId" lay-filter="linkage" data-url="{:url('admin/ajax.unit/getChargePersonList')}" data-child="chargePerson" >
                    {volist name="eventList" id="item"}
                    <option  disabled value="{$key}" {if $key == $eventId}selected{/if}>{$item}</option>
                    {/volist}
                  </select>
                </div>
            </div>

            <div class="layui-form-item">
	            <label class="layui-form-label">步骤序号</label>
	            <div class="layui-input-block">
	              <input class="layui-input" type="number" name="stepIndex"  autocomplete="off" placeholder="输入步骤序号">
	            </div>
          	</div>  


            <div class="layui-form-item">
            	<label class="layui-form-label">执行项目&nbsp;<i class="layui-icon arrow">&#xe642;</i></label></label>
            	<div class="layui-input-block">
            		<select class="actionId" name="actionId" lay-verify="required">
                        <option></option> 
                        {volist name="type" id="item" key="k"}
                        <option value="{$k}">{$item}</option>
                        {/volist}
                    </select>
            	</div>
            </div>

             <div class="layui-form-item">
             	<label class="layui-form-label">责任人</label>
             	<div class="layui-input-block">
             		  <input type="text" name="chargePerson" id="chargePerson"  class="layui-input" placeholder="责任人">
             	</div>
             </div>

	         <div class="layui-form-item">
	              <label class="layui-form-label">完成时间</label>
	              <div class="layui-input-block">
	                <input type="text" name="finishTime" id="finishTime"  class="layui-input" placeholder="完成时间">
	              </div>
	             </div>
	
	         <div class="layui-form-item">
	              <label class="layui-form-label">行动时间</label>
	              <div class="layui-input-block">
	                <input type="text" name="implementTime" id="implementTime"  class="layui-input" placeholder="行动时间" >
	              </div>
	        </div>
	
	        <div class="layui-form-item">
	              <label class="layui-form-label">执行状态</label>
	              <div class="layui-input-block">
	                <select name="implementStatus" id="implementStatus">
	                     <option></option>
	                     {volist name="status" id="item"}
	                     <option value="{$key}">{$item}</option>
	                     {/volist}
	                </select>
	              </div>
	        </div>

            <div class="layui-form-item layui-form-text">
                <label class="layui-form-label">行动内容</label>
                <div class="layui-input-block">
                    <textarea class="layui-textarea" name="stepDesc" data-set="stepDesc" placeholder="请输入行动内容"></textarea>
                </div>
            </div>

            <div class="layui-form-item layui-form-text">
                <label class="layui-form-label">专家意见</label>
                <div class="layui-input-block">
                    <textarea class="layui-textarea" name="expertOpinion" data-set="expertOpinion" placeholder="请输入行动内容"></textarea>
                </div>
            </div>
           	<div class="layui-form-item">
               	<div class="layui-input-block">
                    <button class="layui-btn btn-green" id="save" lay-submit lay-filter="save">保 存 </button>
                    <button class="layui-btn layui-btn-primary" type="reset">重 置</button>
                </div>
           	</div>
        </form>
    </div>  
    <script type="text/javascript" src="__LAYUI__/layui.js"></script>
    <script type="text/javascript" src="__JS__/duty/executedetail.js"></script>
       

</body>
</html>           

